package com.ryan.mdp.advice.service;

import org.aopalliance.aop.Advice;

import com.ryan.mdp.advice.AdviceFactory;

/**
 * 服务端监控Advice工厂类
 * 
 * @author botao.liao
 * 
 */
public class MdpStatAdviceFactory implements AdviceFactory {

    private Advice advice = null;

    public synchronized Advice getAdvice() {
        if (advice != null) {
            return advice;
        }
        advice = new MdpStatAdvice();
        return advice;
    }

}
